package com.xuecheng.content.service;

import com.xuecheng.content.entity.CoursePub;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 课程发布 服务类
 * </p>
 *
 * @author itcast
 * @since 2021-12-20
 */
public interface CoursePubService extends IService<CoursePub> {


    /**
     * 课程预览
     * @param courseBaseId  Long    课程id
     * @param companId  Long    公司id
     * @return  Map
     */
    Map<String, Object> previewCourse(Long courseBaseId, Long companId);
}
